# -*- coding:utf-8 -*-
"""
@Time : 2025/01/30 18:11 PM
@Author: xiaomi
@Des: schemas模型
"""
from pydantic import BaseModel
from typing import Optional, List
from schemas.base import BaseResp

class CategoryItem(BaseModel):
    title: Optional[str] = None
    link: Optional[str] = None
    children: Optional[List["CategoryItem"]] = None

class CategoryListData(BaseResp):
    data: List[CategoryItem]